/*
//              INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license  agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in  accordance  with the terms of that agreement.
//    Copyright (c) 2006-2007 Intel Corporation. All Rights Reserved.
//
*/
#include "umc_defs.h"
#if defined (UMC_ENABLE_DV_VIDEO_ENCODER)

#ifndef __HUFFMAN_H
#define __HUFFMAN_H

namespace UMC
{

#pragma pack(1)
struct ENCODE_ELEMENT
{
    Ipp16s length;                                      // (Ipp16s) length
    Ipp16u code;                                        // (Ipp16u) code
};
#pragma pack()

extern Ipp16s *TableMaxAmpOnRun; // Array of 63 elements. Each element indicates maximum amplitude so that
                                //  run-amp pair has single huffman code.

extern ENCODE_ELEMENT **EncodeTables; // Array of 62 ENCODE_ELEMENT arrays, total 377 elements

}//namespace UMC

#endif //__HUFFMAN_H

#endif //(UMC_ENABLE_DV_VIDEO_ENCODER)
